<?
$v_filter="";
if(isset($_REQUEST['hdn_filter_enduser'])){
	$v_filter = $_REQUEST['hdn_filter_enduser'];
}
	$v_filter = "%".$v_filter."%";

$v_application_id = $_SESSION['user_application_id'];
$v_status = -1;

if (_is_sqlserver()){
	$cmd = @mssql_init("USER_EndUserGetAll",$conn);
	@mssql_bind($cmd,"@p_filter",$v_filter,SQLVARCHAR);
	@mssql_bind($cmd,"@p_application_id",$v_application_id,SQLINT4);
	@mssql_bind($cmd,"@p_status",$v_status,SQLINT4);
	$result = mssql_execute($cmd);
	$arr_all_user = _get_row_to_array($result);
	@mssql_free_result($result);
}?>